import instance from "@/util/request";

export function allTypes(page) {
console.log("data",page.value)
return instance({
method:'GET',
url:'/type/selectTypes/all',
params:{
	pageNum:page.value.pageNum,
	pageSize: page.value.pageSize
}
})
}
export function findTypeById (id){
	console.log("接收到的data=",id)
	return instance({
	method:'get',
	url:'/type/selectById/'+id,
	})}